package com.east.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.east.bean.ReimburseRecords;
import com.east.controller.fee.info.Subject;
import com.east.utils.BaseMapper;

public interface ReimburseRecordsMapper extends BaseMapper<ReimburseRecords> {
	/**
	 * 全查
	 * @param key
	 * @param subject
	 * @return
	 */
	List<ReimburseRecords> finByReimburseAll(@Param("key")String key,@Param("subject")String subject,
			@Param("startTime")String startTime,@Param("endTime")String endTime);
	
	
	/**
	 * 科目汇总
	 * @param year
	 * @param month
	 * @return
	 */
	List<Subject> findBySubject(@Param("year")String year,@Param("month") String month);
	/**
	 * 经营统计
	 * @param year
	 * @return
	 */
	Double findByOperation(@Param("year") Integer year);
}